<template>
    <div>
        <el-dialog v-model="counter.flagshow" :title="Tips" width="500">
            <slot></slot>
        </el-dialog>
    </div>
</template>

<script setup lang="ts">
defineProps(['Tips'])

import { useCounterStore } from '@/stores/counter'
const counter = useCounterStore()
</script>

<style scoped></style>